Package com.cisco.pt.ipc.sim.pdu.impl
Class BgpAttributeImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.BgpAttributeImpl
- All Implemented Interfaces:
IPCData,BgpAttribute,Pdu,Signal
- Direct Known Subclasses:
BgpAttribASPathImpl,BgpAttribAtomicAggImpl,BgpAttribLocalPrefImpl,BgpAttribMedImpl,BgpAttribNextHopImpl,BgpAttribOriginImpl
-
Field Summary
FieldsFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) getFieldType(String fieldName) getFlags()getType()voidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidvoidvoidMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
flags
-
type
-
length
-
-
Constructor Details
-
BgpAttributeImpl
public BgpAttributeImpl()
-
-
Method Details
-
getFlags
- Specified by:
getFlagsin interfaceBgpAttribute- Returns:
- Byte Returns a Byte
-
setFlags
- Specified by:
setFlagsin interfaceBgpAttribute- Parameters:
flags- Takes in a parameter of flags
-
getType
- Specified by:
getTypein interfaceBgpAttribute- Returns:
- Byte Returns a Byte
-
setType
- Specified by:
setTypein interfaceBgpAttribute- Parameters:
type- Takes in a parameter of type
-
getLength
- Specified by:
getLengthin interfaceBgpAttribute- Returns:
- Byte Returns a Byte
-
setLength
- Specified by:
setLengthin interfaceBgpAttribute- Parameters:
length- Takes in a parameter of length
-
getFieldType
- Overrides:
getFieldTypein classPduImpl
-
read
Reads this object from an EncodedBuffer of raw data -
pduRead
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classPduImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classPduImpl
-